from sqlalchemy.ext.asyncio import AsyncSession
from module_admin.entity.vo.employee_payment_vo import EmployeePaymentQueryModel
from module_admin.dao.employee_payment_dao import EmployeePaymentDao

class EmployeePaymentService:
    """
    员工支出模块服务层
    """

    @classmethod
    async def get_payment_list_services(cls, query_db: AsyncSession, page_object: EmployeePaymentQueryModel, is_page: bool = False):
        payment_list_result = await EmployeePaymentDao.get_payment_list(query_db, page_object, is_page)
        return payment_list_result 